package com.example.demo.service;

import com.example.demo.entity.CultureBackgroundCollection;

import java.util.List;

public interface CultureBackgroundCollectionService {
    // 添加收藏
    boolean addCollection(CultureBackgroundCollection cultureBackgroundCollection);

    // 删除收藏
    boolean deleteCollection(CultureBackgroundCollection cultureBackgroundCollection);

    // 获取用户的收藏列表
    List<CultureBackgroundCollection> getCollectionsByUserId(Integer userId);

    // 检查是否收藏
    boolean isCollected(Integer userId, Integer cultureBackgroundDetailId);
}
